package com.frank.auth.application.convert;

import com.frank.auth.application.dto.AuthPermissionDto;
import com.frank.auth.domain.bo.AuthPermissionBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2024/2/9
 * @description
 */
@Mapper
public interface AuthPermissionDtoConvert {

    AuthPermissionDtoConvert INSTANCE = Mappers.getMapper(AuthPermissionDtoConvert.class);

    AuthPermissionDto convertBoToDto(AuthPermissionBo authPermissionBo);

    AuthPermissionBo convertDtoToBo(AuthPermissionDto authPermissionDto);
}
